﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace FCTC_Web.Models
{
    public class TeamMember:EntityBase
    {
        [Display(Name = "全名")]
        [Required]
        [MaxLength(20)]
        public string MemberFullName { get; set; }

        [MaxLength(20)]
        [Required]
        [Display(Name = "性别")]
        public string Gender { get; set; }

        [MaxLength(20)]
        [Required]
        [Display(Name = "身份证号码")]
        public string Identity { get; set; }

        [Display(Name = "参赛状态")]
        public string MemberStatus { get; set; }

        [MaxLength(20)]
        [Display(Name = "是否有汽车")]
        public bool HasVehicle { get; set; }

        public virtual Team Team { get; set; }
        public int? TeamID { get; set; }
    }
}